﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ShopAdmin/Site.Master" AutoEventWireup="true" CodeBehind="LineMemberList.aspx.cs" Inherits="VK.Casemeet.Web.ShopAdmin.Lines.LineMemberList" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<%@ Import Namespace="VK.Comm" %>
<%@ Import Namespace="VK.Casemeet" %>
<%@ Import Namespace="VK.Casemeet.Members" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="contentBody" runat="server">
    <div class="bodyContent divBody">
        <div class="divListOper">
            &nbsp;
        </div>

        <asp:Repeater ID="rptLineMember" runat="server" onitemcommand="rptLineMember_ItemCommand">
        <HeaderTemplate>
        <table class="tableList" cellspacing="0">
            <thead>
                <tr>
                    <th>编号</th>
                    <th>姓名</th>
                    <th>性别</th>
                    <th>所在地区</th>
                    <th>联系电话</th>
                    <th>QQ号码</th>
                    <th>通讯地址</th>
                    <th>线路名称</th>
                    <th>提交时间</th>
                    <th style="width:50px;"><span>操作</span></th>
                </tr>
            </thead>
            <tbody>
        </HeaderTemplate>
        <ItemTemplate>
                <tr>
                    <td><%# Eval("LineMemberID")%></td>
                    <td><%# Eval("MemberName")%></td>
                    <td><%# VK.Casemeet.Members.MemberHelper.GetSexLabel((int)Eval("Sex")) %></td>
                    <td><%# Eval("QQ")%></td>
                    <td><%# Eval("Phone")%></td>
                    <td><%# Eval("Area")%></td>
                    <td><%# Eval("Address")%></td>
                    <td><a href="/0/LineDetail/<%# Eval("LineID")%>.html" target="_blank"><%# Eval("LineName")%> [详细]</a></td>
                    <td class="txtcen"><%# Util.FormatDateTime((DateTime)Eval("Created"), DateTimeStyle.ShortDate2) %></td>
                    <td class="txtcen">
                        <asp:LinkButton CssClass="left tableOperDelete" ID="butDelete" CommandName="Delete" CommandArgument='<%# Eval("LineID")%>' runat="server" OnClientClick="return confirm('您确定要删除吗？删除后将不可恢复！');">&nbsp;</asp:LinkButton>
                    </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
        </table>
        </FooterTemplate>
        </asp:Repeater>
        
        <webdiyer:AspNetPager ID="aspNetPager" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb" 
            onpagechanged="aspNetPager_PageChanged" PageIndexBoxType="DropDownList" PageSize="20" SubmitButtonText="Go" 
            TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
            CustomInfoHTML="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;共%RecordCount%条, 每页%PageSize%条, <font style='color:#A36D33;'>%currentPageIndex%</font>/%pageCount%页" 
            ShowCustomInfoSection="Left" CustomInfoSectionWidth="580px" NumericButtonCount="5">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
